;FloatLib Include File

 INCLUDE "libraries.inc"
 UseLibrary Float

 EXTERN Float1,Float2,Float3,Float4,Float5,Float6,Float7,Float8
 EXTERN _FDiv,_FPlus,_FMinus,_FMult,_FRand
 CreateRoutine Float,FLoad,0,2
 CreateRoutine Float,FLargeNum,2,1
 CreateRoutine Float,FSmallNum,2,1
 CreateRoutine Float,FIPart,0,1
 CreateRoutine Float,FFPart,0,1
 CreateRoutine Float,FInc,0,1
 CreateRoutine Float,FDec,0,1
 CreateRoutine Float,FSqRoot,0,1
 CreateRoutine Float,FSquare,0,1
 CreateRoutine Float,FIfEqu,0,2
 CreateRoutine Float,FIfNEqu,0,2
 CreateRoutine Float,FIfGreater,0,2
 CreateRoutine Float,FIfLess,0,2
 CreateRoutine Float,FToVar,0,2
 CreateRoutine Float,FRand,0,2


FDiv MACRO first,second,third
       db     FloatLib,_FDiv
       dw     first
       dw     second
 ifneq "_&third","_"
       dw     third
 else
       dw     first
 endif
 ENDMAC

FMult MACRO first,second,third
       db     FloatLib,_FMult
       dw     first
       dw     second
 ifneq "_&third","_"
       dw     third
 else
       dw     first
 endif
 ENDMAC


FMinus MACRO first,second,third
       db     FloatLib,_FMinus
       dw     first
       dw     second
 ifneq "_&third","_"
       dw     third
 else
       dw     first
 endif
 ENDMAC


FPlus MACRO first,second,third
       db     FloatLib,_FPlus
       dw     first
       dw     second
 ifneq "_&third","_"
       dw     third
 else
       dw     first
 endif
 ENDMAC
